package com.buddies.lottery.ui.pay;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.resp.PayResponse;
import com.buddies.lottery.data.resp.PayResultResponse;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface PayContract {

    interface View extends IView {
        void onPaySuccess(PayResultResponse response);

        void onPayQrcodeLoaded(PayResponse response);
    }

    interface Presenter extends IPresenter<View> {

        void postPay(String payType, String money);

        void loadPayQrcode();

    }

}
